import { addColumnEllipsis, dateRender } from "utils/common";
const columnWidth = 80;


let columns = [
   {
    dataIndex: "name",
    title: "收件人",
     width: 100
  },
  {
   dataIndex: "phone",
   title: "电话",
    align: "center",
    width: 140
  },
   {
    dataIndex: "address",
    title: "地址",
    scopedSlots: { customRender: "address" },
  },
  {
    dataIndex: "isdefault",
    title: "是否默认地址",
    scopedSlots: { customRender: "isdefault" },
    align: "center",
    width: 150
  },
  {
    dataIndex: "label",
    title: "标签",
    align: "center",
    width: 140
  },
  {
    dataIndex: "createTime",
    align: "center",
    title: "创建时间",
    width: 140
  },
  {
    dataIndex: "operation",
    title: "操作",
    scopedSlots: { customRender: "operation" },
    align: "center",
    width: 180
  }
];

columns = addColumnEllipsis(columns);
export default columns;
